
package com.kuizii.demo.api;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.kuizii.demo.domain.SysUserDto;
import com.kuizii.demo.domain.user.AddUserRequest;
import org.springframework.cache.annotation.CacheEvict;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;

/**
 * @author nuanyang
 * Email freexiaodong@163.com
 * Created by 2019-06-16 16:24:15
 */
@FeignClient(value = "${kuizii.endpoint.demo}")
public interface SysUserService  {

    @GetMapping("/core/sys_user/getUserById")
    SysUserDto getUserById(@RequestParam("id") String id);


    @PostMapping("/core/sys_user/addUser")
    void addUser(@RequestBody AddUserRequest userDto);
}
